package com.hsxc.cdz.base.bean;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 
 * @author 刘力文 账单总表
 *
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Bill {

	private int id; // 表Id
	private String billNO; // 账单id
	private String userNO; // 用户id即微信号或者支付宝号或者ic卡号
	private String pileNO; // 充电桩bh
	private String resNO; // 预约编号id
	private String generateTime; // 账单生成时间
	private String startTime; // 充电开始时间
	private String stopTime; // 充电结束时间
	private double chargeFee; // 充电费用
	private double feeSum; // 账单总费用
	private int state; // 账单状态：计费中、待支付、已支付 1-已支付 2-待支付 3-计费中
	private String payTime; // 账单支付时间
	private int payWay; // 支付方式 1-微信公众号 2-IC卡 3-现金4app微信支付 5-支付宝
	private double degreeBefore; // 充电前读书
	private double degreeAfter; // 充电后读书
	private double chargeDegree; // 充电电量
	private double balanceIcBefore; // 充电前余额
	private double balanceIcAfter; // 充电后余额
	private double serviceFee; // 服务费金额

	// 支付状态
	public static int PAYED = 1;
	public static int NO_PAY = 2;
	public static int CHARGING = 3;

	// 支付方式
	public static int WXGZH = 1;
	public static int CARD = 2;
	public static int XJ = 3;
	public static int WXAPP = 4;
	public static int ZFB = 5;

	public String getBillNO() {
		return billNO;
	}

	public void setBillNO(String billNO) {
		this.billNO = billNO;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserNO() {
		return userNO;
	}

	public void setUserNO(String userNO) {
		this.userNO = userNO;
	}

	public String getPileNO() {
		return pileNO;
	}

	public void setPileNO(String pileNO) {
		this.pileNO = pileNO;
	}

	public String getResNO() {
		return resNO;
	}

	public void setResNO(String resNO) {
		this.resNO = resNO;
	}

	public String getGenerateTime() {
		return generateTime;
	}

	public void setGenerateTime(String generateTime) {
		this.generateTime = generateTime;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getStopTime() {
		return stopTime;
	}

	public void setStopTime(String stopTime) {
		this.stopTime = stopTime;
	}

	public double getChargeFee() {
		return chargeFee;
	}

	public void setChargeFee(double chargeFee) {
		this.chargeFee = chargeFee;
	}

	public double getFeeSum() {
		return feeSum;
	}

	public void setFeeSum(double feeSum) {
		this.feeSum = feeSum;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public int getPayWay() {
		return payWay;
	}

	public void setPayWay(int payWay) {
		this.payWay = payWay;
	}

	public double getDegreeBefore() {
		return degreeBefore;
	}

	public void setDegreeBefore(double degreeBefore) {
		this.degreeBefore = degreeBefore;
	}

	public double getDegreeAfter() {
		return degreeAfter;
	}

	public void setDegreeAfter(double degreeAfter) {
		this.degreeAfter = degreeAfter;
	}

	public double getChargeDegree() {
		return chargeDegree;
	}

	public void setChargeDegree(double chargeDegree) {
		this.chargeDegree = chargeDegree;
	}

	public double getBalanceIcBefore() {
		return balanceIcBefore;
	}

	public void setBalanceIcBefore(double balanceIcBefore) {
		this.balanceIcBefore = balanceIcBefore;
	}

	public double getBalanceIcAfter() {
		return balanceIcAfter;
	}

	public void setBalanceIcAfter(double balanceIcAfter) {
		this.balanceIcAfter = balanceIcAfter;
	}

	public double getServiceFee() {
		return serviceFee;
	}

	public void setServiceFee(double serviceFee) {
		this.serviceFee = serviceFee;
	}

}
